home *** CD-ROM | disk | FTP | other *** search
/ Joystick Magazine 1996 September / cd joy 74 No16.iso / mac / CD MIEUX-MIEUX N°13 / Escape Velocity / Plug-ins / Great-Civil-War.sit / Great-Civil-War / POVray source files / Confed Dreadnaught.pov next >
Text File  |  1996-07-01  |  5KB  |  243 lines

  1. #include "colors.inc"
  2. #include "shapes.inc"
  3. #include "textures.inc"
  4.  
  5. /* Ansicht aus der Ferne von oben */
  6.  
  7. /*
  8. camera {
  9.    location <0, 0, 300>
  10.    direction <0, 0, 19.5>
  11.    up       <0, 1, 0>
  12.    right    <1, 0, 0>
  13.    look_at  <0, 0, 0>
  14. }
  15. */
  16.  
  17. /* Ansicht von vorne (Hail) */
  18.  
  19. camera {
  20.    location  <0,  40,  12>
  21.    direction <0,   0,   3.4>
  22.    up        <0,   1,    0>
  23.    right     <1,   0,    0>
  24.    look_at   <0,   0,    0>
  25. }
  26.  
  27. /* Ansicht von vorne rechts */
  28.  
  29. /*
  30. camera {
  31.    location  <90,  75,  72>
  32.    direction <0,   0,   10.4>
  33.    up        <0,   1,    0>
  34.    right     <1,   0,    0>
  35.    look_at   <0,   0,    0>
  36.    rotate    <97, 0, 97>
  37. }
  38. */
  39.  
  40. /* Dreadnaught */
  41.  
  42. union {
  43.    cylinder {                   // Rumpf
  44.      <0, -4, 0>,
  45.      <0,  7, 0>,
  46.      1.2
  47.    }  /* cylinder */
  48.    sphere {                     // Heck
  49.       <0, -4, 0>
  50.       1.2
  51.       scale <1, 0.75, 1>
  52.       translate <0, -1, 0>
  53.    }  /* sphere */
  54.    sphere {                     // Bugnase
  55.       <0, 7, 0>
  56.       1.2
  57.       scale <1, 2, 1>
  58.       translate <0, -7, 0>
  59.    }  /* sphere */
  60.    intersection {
  61.       sphere {                  // Frontfenster
  62.          <0, 7, 0>
  63.          1.21
  64.       }  /* sphere */
  65.       box {
  66.          <-1.21, 7.6, 0.55>
  67.          < 1.21, 8.6, 0.75>
  68.       }  /* box */
  69.       scale <1, 2, 1>
  70.       translate <0, -7, 0>
  71.       pigment { color red 1.8 green 1.8 }
  72.    }  /* intersection */
  73.    intersection {
  74.       union {
  75.          cone {
  76.             <0, 1.5, 1.2>, 0, <0, -1.5, 1.2>, 1.6
  77.          }  /* cone */
  78.          sphere {
  79.             <0, -1.5, 1.2>, 1.6
  80.          }  /* sphere */
  81.       }  /* union */
  82.       box {
  83.          <-0.2,  1.0, 1.2>, 
  84.          < 0.2, -4.6, 2.8>
  85.       }  /* box */
  86.       pigment { color red 0.0 green 0.0 blue 1.2 }
  87.    }  /* intersection */
  88.  
  89.    difference {
  90.  
  91.       difference {   // Flügel-Außenkante
  92.  
  93.          box {
  94.             < -0.45, -0.45, -0.03 >,
  95.             <  0.65,  0.65,  0.0 >
  96.          }  /* box */
  97.  
  98.          quartic {
  99.             < 0.0,  0.0,  0.0,  0.0,  0.0, 
  100.               0.0,  0.0,  0.0,  0.0, -1.0,
  101.               0.0,  0.0,  0.0,  0.0,  0.0,  
  102.               0.0,  0.0,  0.0,  0.0,  0.0,
  103.               0.0,  0.0,  1.0,  0.0,  0.0,  
  104.              -1.0,  0.0,  0.0,  0.0,  0.0,
  105.               0.0,  0.0,  0.0,  0.0,  0.145 >
  106.          }  /* quartic */
  107.       
  108.          scale     < 16,   12, 10 >
  109.          translate <  0, -0.7,  0 >
  110.  
  111.       }  /* difference */
  112.          
  113.       difference {   // Flügel-Innenkante
  114.  
  115.          box {
  116.             < -0.45, -0.45, -0.2 >,
  117.             <  0.65,  0.65,  0.1 >
  118.          }  /* box */
  119.  
  120.          quartic {
  121.             < 0.0,  0.0,  0.0,  0.0,  0.0, 
  122.               0.0,  0.0,  0.0,  0.0, -1.0,
  123.               0.0,  0.0,  0.0,  0.0,  0.0,  
  124.               0.0,  0.0,  0.0,  0.0,  0.0,
  125.               0.0,  0.0,  1.0,  0.0,  0.0,  
  126.              -1.0,  0.0,  0.0,  0.0,  0.0,
  127.               0.0,  0.0,  0.0,  0.0,  0.145 >
  128.          }  /* quartic */
  129.       
  130.          scale     < 10.0,  7.5, 10.0 >
  131.          translate <  0.0, -0.3,  0.0 >
  132.  
  133.       }  /* difference */
  134.  
  135.    }  /* difference */
  136.  
  137.    cylinder {           // Confed. Kennzeichnung links
  138.       <4.8, -1.0, -0.1>,
  139.       <4.8, -1.0, 0.01>,
  140.       0.9
  141.       pigment { color red 0.0 green 0.0 blue 1.2 }
  142.    }  /* cylinder */
  143.    cylinder {           // Confed. Kennzeichnung rechts
  144.       <-4.8, -1.0, -0.1>,
  145.       <-4.8, -1.0, 0.01>,
  146.       0.9
  147.       pigment { color red 0.0 green 0.0 blue 1.2 }
  148.    }  /* cylinder */
  149.  
  150.    cylinder {           // Neutronen-Kanone 1
  151.       <3,  4, -0.4>,
  152.       <3,  7, -0.4>,
  153.       0.3
  154.       pigment { color Brown }
  155.    }  /* cylinder */
  156.    cylinder {           // Neutronen-Kanone 2
  157.       <-3,  4, -0.4>,
  158.       <-3,  7, -0.4>,
  159.       0.3
  160.       pigment { color Brown }
  161.    }  /* cylinder */
  162.    cylinder {           // Neutronen-Kanone 3
  163.       <5.5,  1, -0.4>,
  164.       <5.5,  4, -0.4>,
  165.       0.3
  166.       pigment { color Brown }
  167.    }  /* cylinder */
  168.    cylinder {           // Neutronen-Kanone 4
  169.       <-5.5,  1, -0.4>,
  170.       <-5.5,  4, -0.4>,
  171.       0.3
  172.       pigment { color Brown }
  173.    }  /* cylinder */
  174.  
  175. /* pigment für Sicht von oben */      
  176. //   pigment { color red 0.8 green 0.8 blue 0.8 }
  177.  
  178. /* pigment für Sicht von vorne (Hail)  */      
  179.    pigment { color red 1.0 green 1.0 blue 1.0 }
  180.  
  181.    finish  { 
  182.       ambient 0.1
  183.       diffuse 0.8
  184.       reflection 0.05
  185.       phong_size 6 
  186.    }  /* finish */
  187.  
  188.    translate <0.0, -2.25, 0.0>        // zentrieren
  189. //   rotate z*350
  190. //   translate <0.0, -0.8, 0.0>           // Buy-View
  191.  
  192. }  /* union */
  193.  
  194.  
  195. /* Beleuchtung für Ansicht von oben */
  196.  
  197. /*
  198. light_source {
  199.    <-200.0, -170.0, 260.0>
  200.    colour red 0.6 green 0.6 blue 0.6
  201.    spotlight
  202.    point_at <0, 0, 0>
  203.    radius 10
  204.    falloff 20
  205.    tightness 10
  206. }
  207. light_source {
  208.    <-210.0, -180.0, 250.0>
  209.    colour red 0.6 green 0.6 blue 0.6
  210.    spotlight
  211.    point_at <0, 0, 0>
  212.    radius 10
  213.    falloff 20
  214.    tightness 10
  215. }
  216. */
  217.  
  218. /* Beleuchtung für Ansicht von vorne */
  219.  
  220. light_source {
  221.    <15.0, 20.0, 15.0>
  222.    colour red 1.0 green 1.0 blue 1.0
  223.    spotlight
  224.    point_at <0, 0, 0>
  225.    radius 20
  226.    falloff 20
  227.    tightness 10
  228. }
  229.  
  230. /* Beleuchtung für Ansicht von vorne rechts */
  231.  
  232. /*
  233. light_source {
  234.    <60.0, 80.0, 75.0>
  235.    colour red 1.0 green 1.0 blue 1.0
  236.    spotlight
  237.    point_at <0, 0, 0>
  238.    radius 20
  239.    falloff 20
  240.    tightness 10
  241. }
  242. */
  243.